package Singletion;

//没有延迟加载
public class Coin {

    //
    private static final Coin instance=new Coin();

    //防止这个类构造函数被调用设置为private
    private  Coin()
    {

    }

    public static Coin getInstance()
    {
        return instance;
    }

}
